#waf7oWv8jPwu4eu3gpsJuHBg

from removebg import RemoveBg
import os
#
# rmbg = RemoveBg("#waf7oWv8jPwu4eu3gpsJuHBg", "error.log")
# path = '%s/picture'%os.getcwd() #图片放到程序的同级文件夹 picture 里面
# for pic in os.listdir(path):
#     rmbg.remove_background_from_img_file("%s\%s"%(path,pic))
#
from removebg import RemoveBg
import os

rmbg = RemoveBg("waf7oWv8jPwu4eu3gpsJuHBg", "error.log")

#获取单个照片的抠图   XKMh1J7geGfnGY9CFu9zXV8f

rmbg.remove_background_from_img_file(r"D:\rj自动化\GUI_UI2\ceshi\ui2test\市电款RS.37.png")  # 图片地址
